-- card: 8341 from stack: in -- bmap block id: 8916 -- flags: 4000 -- background id: 8189 -- name: Cylinder ----- HyperTalk script ----- on mouseUp set numberFormat to <0.000000> --Calculate Area Of Side get (2*pi*card field "Radius")*card field "Height" put it into card field "Area of Side" --Calculate Total Area get (2*pi*card field "Radius"*card field "Height") +(2*pi*card field "Radius"^2) put it into card field "Total Area" --Calculate Volume get (pi*card field "Radius"^2)*card field "Height" put it into card field "Volume" --Calculate Circumference get 2*pi*card field "Radius" put it into card field "Circumference" end mouseUp -- part 1 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=318 top=78 right=95 bottom=447 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Radius -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=318 top=99 right=116 bottom=447 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Height -- part 3 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=162 right=181 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Area of Side -- part 4 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=201 right=220 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Total Area -- part 5 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=241 right=260 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Volume -- part 6 (field) -- low flags: 01 -- high flags: 0004 -- rect: left=319 top=274 right=293 bottom=448 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Circumference -- part contents for card part 1 ----- text ----- .500000 -- part contents for card part 2 ----- text ----- 1.000000 -- part contents for card part 3 ----- text ----- 3.141593 -- part contents for card part 4 ----- text ----- 4.712389 -- part contents for card part 5 ----- text ----- 0.785398 -- part contents for card part 6 ----- text ----- 3.141593